import re
# s = "python itheism python"
# result = re.search("python", s)
# print(result)
# print(result.span())
# print(result.group())
# result = re.match("python", s)
# print(result)
# print(result.span())
# print(result.group())
# result = re.findall("python",s)
# print(result)
# s = "hujunjie 14777 rog realme $$$$ #$%^&*"
# result = re.findall(r'[a-zA-Z]',s)
# print(result)
r = r'^([\w-]+(\.[\w-]+)*@(qq|163|gmail)(\.(com)[\w-]*)+)$'
s = "353863@qq.com"
result = re.match(r,s)
print(result)